<ul>
{section loop=$langs name=i}
    <li><a href="{$adminUrl}/?change-language={$langs[i].keyname}"><img src="{$imageUrl}/flags/{$langs[i].code}.png" alt="{$langs[i].keyname}" /></a></li>
{/section}
</ul>